FROM node:lts-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --registry=https://registry.npm.taobao.org
COPY . .
COPY .env.docker .env
EXPOSE 8002
CMD ["node", "server.js"]